<div class="card">
  <div class="card-title">
    <p class="form-title">{{tempData.data.purchaseInspectionOrderNum}}</p>
  </div>
  <div class="card-body">
    <div class="basic">
      <div class="basic-title">
        基础信息
      </div>
      <div class="basic-info">
        <div class="basic-info-item">
          <label>采购检验单号:</label>
          <div class="info-item-data">
            <span>{{tempData.data.purchaseInspectionOrderNum}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>物料名称:</label>
          <div class="info-item-data">
            <span>{{tempData.data.partName}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>物料编码:</label>
          <div class="info-item-data">
            <span>{{tempData.data.partNum}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>规格型号:</label>
          <div class="info-item-data">
            <span>{{tempData.data.partType}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>物料描述:</label>
          <div class="info-item-data">
            <span>{{tempData.data.description}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>物料单位:</label>
          <div class="info-item-data">
            <span>{{tempData.data.partUOM}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>供应商:</label>
          <div class="info-item-data">
            <span>{{tempData.data.supplyShortName}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>供应商全称:</label>
          <div class="info-item-data">
            <span>{{tempData.data.supplyChineseName}}</span>
          </div>
        </div>
        <!-- <div class="basic-info-item">
          <label>检验数量:</label>
          <div class="info-item-data">
            <span>{{tempData.data.inspectionQuantity}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>合格数量:</label>
          <div class="info-item-data">
            <span>{{tempData.data.qualifiedQuantity}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>不合格数量:</label>
          <div class="info-item-data">
            <span>{{tempData.data.unqualifiedQuantity}}</span>
          </div>
        </div> -->
        <div class="basic-info-item">
          <label>仓库名称:</label>
          <div class="info-item-data">
            <span>{{tempData.data.warehouseName}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>库位名称:</label>
          <div class="info-item-data">
            <span>{{tempData.data.positionName}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>采购到货单号:</label>
          <div class="info-item-data">
            <span>{{tempData.data.purchaseArrivalOrderNum}}</span>
          </div>
        </div>
        <div class="basic-info-item">
          <label>检验日期:</label>
          <div class="info-item-data">
            <span>{{tempData.data.inspectionDate}}</span>
          </div>
        </div>
        <div class="basic-info-item basic-info-last">
          <label>备注:</label>
          <div class="info-item-data">
            <span>{{tempData.data.note}}</span>
          </div>
        </div>
      </div>
    </div>
    <div class="details">
      <div class="details-title">
        检验情况
      </div>
      <div class="details-content" *ngIf="tempData.type =='检验'">
        <div class="details-item">
          <label>
            检验数量
          </label>
          <d-input-number [(ngModel)]="tempData.data.inspectionQuantity" class="input-number" [disabled]="true">
          </d-input-number>
        </div>
        <div class="details-item">
          <label>
            合格数量
          </label>
          <d-input-number [(ngModel)]="tempData.data.qualifiedQuantity" class="input-number"
          [max]="tempData.data.inspectionQuantity-tempData.data.unqualifiedQuantity" [min]="0">
          </d-input-number>
        </div>
        <div class="details-item">
          <label>
            不合格数量
          </label>
          <d-input-number [(ngModel)]="tempData.data.unqualifiedQuantity" class="input-number"
          [max]="tempData.data.inspectionQuantity-tempData.data.qualifiedQuantity" [min]="0" >
          </d-input-number>
        </div>
      </div>
      <div class="details-content" *ngIf="tempData.type =='查看'">
        <div class="details-item">
          <label>
            检验数量:
          </label>
          <div class="info-item-data">
            <span>{{tempData.data.inspectionQuantity}}</span>
          </div>

        </div>
        <div class="details-item">
          <label>
            合格数量:
          </label>
          <div class="info-item-data">
            <span>{{tempData.data.qualifiedQuantity}}</span>
          </div>
        </div>
        <div class="details-item">
          <label>
            不合格数量:
          </label>
          <div class="info-item-data">
            <span>{{tempData.data.unqualifiedQuantity}}</span>
          </div>
        </div>
      </div>
    </div>
    <!-- <div class="workflow">
      <div class="workflow-title">
        审核流程
      </div>

    </div>
    <div class="views">
      <div class="views-title">
        审核意见
      </div>
      <div class="views-info">
      </div>
    </div> -->
  </div>
</div>
